 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/common.js"></script>
<%@ include file="/commons/commonList.jsp"%>
<script type="text/javascript">
	var currentID = null;
	function edit(){
		if(currentID == null || currentID ==""){
			Alert("请选择要修改的记录");
			return;
		}
		parent.openEnterItemEdit(currentID);
	}
	function openDelete(){
		if(currentID == null || currentID ==""){
			Alert("请选择要删除的记录");
			return;
		}
		AskConfirm("您确认删除此条记录吗?","main","openEnterItemDelete");
	}

	function init(){
		parent.marker = 1;
	}
</script>
</head>
<body onload="init();">
<div style="overflow:auto; height:340px;">

  <ec:ceTable items="checkConfirmItems"
	action="${ctx}/system_enterItemAction.do?method=initList"
	var="confirmItems"
	view="pmsview"
	styleClass="gridData2"
	rowsDisplayed="15" >
	<ec:ceRow styleClass="grid"
		onclick="currentID=${confirmItems.keyword}"
		onContextMenu="return ShowContextMenu(event,'quick_rightmenu');">
		<ec:ceColumn headerCell="pmsHeadrCell" title="序号" property="##" cell="rowCount" sortable="false" width="2%" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="确认项目" property="itemName" sortable="false" width="7%"/>
	</ec:ceRow>
</ec:ceTable>
</div>
<div id="quick_rightmenu" style="display:none;" oncontextmenu="return false" class="quick_rightmenu">
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg">
    <tr>
      <td><table width="100%" border="0" cellpadding="2" cellspacing="0">

          <tr><td class="quickMenu_toolbarico">
          	<a href="#"  onClick="parent.openEnterItemAdd();" onFocus="this.blur()">
          		<img src="${ctx}/images/ico_newfile.gif" alt="" width="16" height="16" border="0" align="absbottom" />
          			&nbsp;新 建</a></td></tr>

		  <tr><td class="quickMenu_toolbarico">
		  	<a href="#"   onClick="edit();" onFocus="this.blur()">
		  		<img src="${ctx}/images/ico_amend.gif" alt="" width="16" height="16" border="0" align="absbottom" />
		  			&nbsp;修 改</a></td> </tr>
        <tr>
          <td class="quickMenu_toolbarico">
          	<a href="#" onClick="openDelete();" onFocus="this.blur()">
          		<img src="${ctx}/images/ico_delete.gif" alt="" width="16" height="16" border="0" align="absbottom" />
          		&nbsp;删 除</a></td>
          </tr>

      </table></td>
    </tr>
  </table>
</div>
</body>
</html>